/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*	
*	Julio Montes e-mail: imc.coder@gmail.com 
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#ifndef SDK_PLUGINSMGRDLG_H
#define SDK_PLUGINSMGRDLG_H

#include <wx/wx.h>
#ifdef USE_RICHTEXTCTRL
#include <wx/richtext/richtextctrl.h>
#endif // USE_RICHTEXTCTRL
namespace sdk
{
    class PluginsManagerDialog : public wxDialog
    {
    public:
        PluginsManagerDialog( wxWindow *parent );
        virtual ~PluginsManagerDialog();
    protected:
    private:
        wxListCtrl *m_listCtrl;
    #ifdef USE_RICHTEXTCTRL
        wxRichTextCtrl *m_richtextctrl;
    #else
        wxTextCtrl *m_textctrl;
    #endif // USE_RICHTEXTCTRL

        void OnItemSelected( wxListEvent &evt );

        void OnEnable(wxCommandEvent &evt );
        void OnDisable( wxCommandEvent &evt );

        void LoadPlugins();

        DECLARE_EVENT_TABLE()
    };
}

#endif //SDK_PLUGINSMGRDLG_H
